<template>
    <div class="container">
        <div class="login-wrapper">
            <div class="header">Register</div>
            <div class="form-wrapper">
                <input type="text" name="username" placeholder="账户" class="input-item">
                <input type="password" name="password" placeholder="密码" class="input-item">
                <input type="password" name="repassword" placeholder="再次确认密码" class="input-item">
                <router-link to="/login" class="btn">Register</router-link>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "Reg"
}
</script>

<style scoped>
html {
    height: 100%;
}

body {
    height: 100%;
}

.container {
    height: 100%;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #f4ecf2, #4b4e52);
}

.login-wrapper {
    background-color: #fff;
    width: 100%;
    /* Full width */
    max-width: 400px;
    /* Maximum width */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.input-item {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid rgb(128, 125, 125);
    border-radius: 4px;
    font-size: 15px;
}

.input-item::placeholder {
    text-transform: uppercase;
}

.btn {
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    margin-top: 40px;
    background-image: linear-gradient(to right, #f4ecf2, #4b4e52);
    color: #fff;
    border: none;
    /* 添加这一行来移除边框 */
}


.msg {
    text-align: center;
    line-height: 88px;
}

a {
    text-decoration-line: none;
    color: #abc1ee;
}

</style>